home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global CASH, CURR_S, EXCF, TWNS, QN_D, J
- set a to 0
- set b to Infla(me, CASH / EXCF)
- set R to getAt(CURR_S, getLast(TWNS))
- set P to b / 50
- puppetSound("Cash1")
- updateStage()
- repeat with n = 1 to 50
- set a to a + P
- set the text of field "Money" to string(integer(a)) && R
- end repeat
- set the text of field "Money" to string(integer(b)) && R
- WaitH(J, 120)
- set R to getAt(QN_D, getLast(TWNS))
- set T to "Your trip begins in" && R & "."
- set T to T && "Come back here after your trip round the world."
- set the text of field "Goodbye_Text" to T
- puppetSound(0)
- end
-